feature/port-to-py3 #11
No reviewers
Labels
No Label
analysis
bug
documentation
enhancement
feature
incompatibility
management
Priority:0
Priority:1
Priority:2
Priority:3
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: marcel/pylot#11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/port-to-py3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current working version of PyLot when pylot.yml is used to build the environment. I/O, Picking & filtering, map work. Needs work on event list and Nlocn integration
Pull request have been commented. Minor changes requested. Go ahaed if implemented.
@ -40,1 +39,3 @@
matplotlib.rcParams['savefig.dpi'] = 300
# set environment variables to use Qt5 and don't convert to Qt4 syntax
# os.environ['PYQTGRAPH_QT_LIB'] = 'PyQt5'
# os.environ["QT_API"] = "pyqt5"
Please remove commented code if not needed for backup solution implementation. In this case just remove.
@ -3227,2 +3252,2 @@
ma_count_total = {'manual': 0,
'auto': 0}
#ma_count_total = {'manual': 0,
# 'auto': 0}
See above! Remove commented code.
@ -0,0 +115,4 @@
- zipp=3.4.1=pyhd8ed1ab_0
- zlib=1.2.11=h516909a_1010
- zstd=1.4.9=ha95c52a_0
prefix: /home/kaan/.conda/envs/pylot_py35
This has no benefit for other users than Kaan. Please generalize the file.
@ -24,0 +25,4 @@
str_TypeLst = [str, unicode] # if python 2.X
except NameError:
str_TypeLst = [str] # if python 3.*
Obsolete since backwards compatibility to 2.x not possible after merge.
@ -48,3 +53,3 @@
evt = readPILOTEvent(**evtdata)
evtdata = evt
elif type(evtdata) in [str, unicode]:
elif type(evtdata) in str_TypeLst:
See above!
@ -69,0 +95,4 @@
def init_graphics(self):
"""
Initializes all GUI components and figure elements to be populeted by other functions
Typo: populated
@ -69,0 +105,4 @@
else:
self.canvas = MplCanvas(self, extern_axes=self.extern_plot_axes)
#self.canvas.axes = self.extern_plot_axes
#self.canvas.fig = self.extern_plot_axes.figure
see above, commented code
@ -74,0 +188,4 @@
def add_merid_paral(self):
self.gridlines = self.canvas.axes.gridlines(draw_labels=False, alpha=0.8, color='dimgray', linewidth=self.linewidth, zorder=7)
# current cartopy version does not support label removal. Devs are working on it.
consider adding "TODO:" comment for future releases of cartopy
Merge all updates from feature/port-to-py3 into develop, so that the feature branch can (theoretically) be closed now.
From now on, PyLoT will run in Python3!
WIP: feature/port-to-py3to feature/port-to-py3