-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi,
We trying to pass the filename dynamically in 'make_clustergrammer.py', each call the text file name will be different.
fileName = sys.argv[1:]
loadFile = ''.join(fileName)
decoded_string = bytes(loadFile, "utf-8").decode("unicode_escape") # python3
load matrix tsv file
tempassign = decoded_string.replace('"','')
confilename = 'txt/' + tempassign + '.' + 'txt'
print(confilename )
net.load_file(confilename)
Error which i m getting as follows,
FileNotFoundError: [Errno 2] No such file or directory: 'txt/.txt'
1 . assigned variable is empty
2. I m communicating python script from nodejs.
Pls help me out, i got stuck with this more than a week.
Really, this clustergrammer is what needed exactly for our project.
We using MEAN(MongoDb, ExpressJS, Angular 4, NodeJs).
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels