pfg throws meaningless exception if 'csv' converter is run in 3D
The CSV converter of the parameter field generator dorie pfg
does not support creating 3D parameter fields. When trying to run it with a .csv
file for a homogeneous (2D) case, it throws the following error:
Parameter field generator failed with (0) warning(s) and (1) error(s)
Traceback (most recent call last):
File "/Users/mathisfels/Desktop/dunewithdorie/dune-common/build-cmake/dune-env/bin/pf_from_file.py", line 61, in <module>
CSVConverter(args["param"])
File "/Users/mathisfels/Desktop/dunewithdorie/dune-common/build-cmake/dune-env/lib/python3.6/site-packages/dorie/parfield/converter/csv.py", line 24, in __init__
super(CSVConverter,self).__init__(param)
File "/Users/mathisfels/Desktop/dunewithdorie/dune-common/build-cmake/dune-env/lib/python3.6/site-packages/dorie/parfield/converter/base.py", line 48, in __init__
self.write(out_path,overwrite)
File "/Users/mathisfels/Desktop/dunewithdorie/dune-common/build-cmake/dune-env/lib/python3.6/site-packages/dorie/parfield/converter/base.py", line 64, in write
raise ValueError("Data shape ({}) does not match field dimensions ({})".format(", ".join(v.shape), self.dim))
TypeError: sequence item 0: expected str instance, int found
Error while running DORiE
There should be a check if dimensions = 2
is given in the config file when starting the CSV converter.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information