Skip to content

Python2 to Python3: initmodulename to PyInit_modulename

Antoni Villalonga requested to merge friki/kmer:master into master

Partial work done.

TODO: XXXmodule.so files should be renamed to XXX.so

class myfile() needs more work:

python3 /usr/bin/../lib/atac/bin/AtacDriver.py /tmp/xxx/results/work/LeprvsTuber.matches.extended

Traceback (most recent call last):
  File "/usr/bin/../lib/atac/bin/AtacDriver.py", line 598, in <module>
    main(sys.argv[1])
  File "/usr/bin/../lib/atac/bin/AtacDriver.py", line 530, in main
    obj = AtacDriver(runName)
  File "/usr/lib/atac/lib/AtacFile.py", line 27, in __init__
    self.matches = MyFile.myfile()
  File "/usr/lib/atac/lib/MyFile.py", line 11, in __init__
    file.__init__(self,filename,"w+")
NameError: name 'file' is not defined
Exception ignored in: <function myfile.__del__ at 0x7f0743cded30>
Traceback (most recent call last):
  File "/usr/lib/atac/lib/MyFile.py", line 14, in __del__
    self.close()
AttributeError: 'myfile' object has no attribute 'close'
Edited by Antoni Villalonga

Merge request reports

Loading