You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm planning to use EDNA for building a new task so I'm playing around. It seems that the simple tutorial you provide in the documentation doesn't work.
When looking at edna2.py, I realized that this case goes directly to the 'else' block.
87 if taskName is None:
88 parser.print_help()
89 sys.exit(1)
90 elif inData is None and inDataFile is not None:
91 with open(inDataFile) as fd:
92 inData = fd.read()
93 else:
94 print("Error - no indata provided!")
95 parser.print_help()
96 sys.exit(1)
97
Of course if I send the data with the --inDataFile option and a json file then it's ok.
Cheers
Nico
The text was updated successfully, but these errors were encountered:
Hi, I'm planning to use EDNA for building a new task so I'm playing around. It seems that the simple tutorial you provide in the documentation doesn't work.
edna2.py --inData '{"name": "Someone"}' HelloWorldTask
When looking at edna2.py, I realized that this case goes directly to the 'else' block.
87 if taskName is None:
88 parser.print_help()
89 sys.exit(1)
90 elif inData is None and inDataFile is not None:
91 with open(inDataFile) as fd:
92 inData = fd.read()
93 else:
94 print("Error - no indata provided!")
95 parser.print_help()
96 sys.exit(1)
97
Of course if I send the data with the --inDataFile option and a json file then it's ok.
Cheers
Nico
The text was updated successfully, but these errors were encountered: