-
Notifications
You must be signed in to change notification settings - Fork 0
Description
To get around the memory issue I'm trying to run the code with python interpreter. I've used pip to install all requirements to python 3.6. When I run I get this error right at the end and the file just has headers:
C:\MeshWork\WillWork>python R:\PRJ-HabitatStr\Mesh3d\Code\main.py --dim XYZ --size 2 --verbose --out "OT-CB_1A.csv" --meshes "OT-CB_1A_co.obj"
Starting to read the mesh files...
Finished reading in the mesh files.
Calculating the bounding box...
Reading in mesh: OT-CB_1A_co.obj
25120892it [02:03, 203510.36it/s]
Vertices: 5713912, Faces: 9228853
Finished calculating the bounding box.
Generating the quadrats inside the bounding box...
Finished generating all the quadrats.
There are this many quadrats: 153
Calculating the area...
Finished calculating the area.
Writing the output to a .csv file...
Finished writing to OT-CB_1A.csv
It took {:0.2f} minutes to process the covfefe out of the mesh(es).
Traceback (most recent call last):
File "R:\PRJ-HabitatStr\Mesh3d\Code\main.py", line 9, in
print("It took {:0.2f} minutes to process the covfefe out of the mesh(es).").format(minutes)
AttributeError: 'NoneType' object has no attribute 'format'