usnistgov / AusteniteCalculator

Software and GUI for uncertainty quantification of austenite phase fraction
Other
1 stars 0 forks source link

JSON file not linking properly #51

Closed mrcox5 closed 1 year ago

mrcox5 commented 1 year ago

When attempting to run the "begin analysis" item on the app, the example options (Example05) seems to run fine. When manually selecting a .json file however (using the "Crystallites Illuminated JSON..." button, the following error is output, even when using the same(?) .json file "File: Example05.json" from the example data folder:

Traceback (most recent call last): File "C:\Users\mrc5\Documents\AusteniteCalculator\AusteniteCalculator-master\app\app.py", line 942, in update_output json_fname) File "C:\Users\mrc5\Documents\AusteniteCalculator\AusteniteCalculator-master\app\compute_results.py", line 1445, in process_data_input json_fname) TypeError: cannot unpack non-iterable NoneType object

creuzige commented 1 year ago

@dnewton600 I think when we tested the new app.py, we may not have used the upload buttons. I'm guessing something in the app.py file is not linking as expected...

creuzige commented 1 year ago

Fixed in b58e7b0, was missing a return in the manual addition of files.