virajbdeshpande/AmpliconArchitect

AttributeError

Closed this issue · 0 comments

gbnci commented

While trying to run AA, I received the following error:

[root:INFO] #TIME 4205.320 Reconstructing amplicon1
[root:INFO] #TIME 4205.320 Calculating coverage meanshift segmentation
[root:INFO] #TIME 4205.320 Detecting breakpoint edges
[root:INFO] #TIME 4205.320 Building breakpoint graph
[root:INFO] #TIME 4209.130 Optimizing graph copy number flow
Traceback (most recent call last):
File "//data/wangyong/AmpliconArchitect/src/AmpliconArchitect.py", line 300, in
bamFileb2b.interval_filter_vertices(ilist, amplicon_name=amplicon_name, runmode=args.runmode)
File "/gpfs/gsfs7/users/wangyong/AmpliconArchitect/src/bam_to_breakpoint.py", line 2163, in interval_filter_vertices
task.putSCeval(opro, oprjo, oprfo, oprgo, oprho)
File "/data/wangyong/mosek/8/tools/platform/linux64x86/python/3/mosek/init.py", line 2181, in putSCeval
load_scopt()
File "/data/wangyong/mosek/8/tools/platform/linux64x86/python/3/mosek/init.py", line 951, in load_scopt
scopt = library_factory(os.path.join(dlldir,_makelibname('mosekscopt%d%d' % (mskmajorver.value,mskminorver.value))))
File "/usr/local/bin/../Anaconda/envs/py2.7/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

I used python/2.7 and version of mosek is 8. Could you please let me know how to solve the problem. I also tried python/3.6, 3.7, 3.8, all gave different kinds of error.
Thanks