Closed mtnuss closed 4 years ago
The problem lies with your input file. There are two options for running VoigtFit:
1) you write a python script (as you've done) and run this in Python, either in a notebook or in an iPython terminal (or plain python terminal if you like it even more manually). For more information check the API in the documentation.
2) you write a "VoigtFit Input File" which does not follow python syntax and run this from terminal using the VoigtFit command. See the manual on the parameter file language.
You seem to have mixed both. You cannot run a python script through the VoigtFit command line tool.
Made an input file in Sublime and I get the same "Value Error: could not convert string to float: 'VoigtFit.DataSetz'" when running the file through VoigtFit in a miniconda command prompt. Works when I run it a line at a time on the prompt, however, it does not work if I try to run the entire input file through VoigtFit at one time like I should be able to. This is the beginning of the input file code, VoigtFit.DataSet(z) is on line 9.
This is the error given after running it in the miniconda command prompt as VoigtFit "input_file_name.py" as told by the VoigtFit instructions.
Not sure what to do from here. Was told it might be a pathing issue but not sure what to do if it is, also unsure since running it line by line got results. Thanks!