Skip to content

Commit

Permalink
Update inputmodel_misc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 9, 2024
1 parent 52ca2e7 commit e1eb457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artistools/inputmodel/inputmodel_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ def get_modeldata(
)
dfmodel = pldfmodel.collect().to_pandas(use_pyarrow_extension_array=True)
if modelmeta["npts_model"] > 100000 and not getheadersonly:
dfmodel.info(verbose=False, memory_usage="deep")
# dfmodel.info(verbose=False, memory_usage="deep")
print("WARNING: Using pandas DataFrame for large model data. Switch to using get_modeldata_polars() instead.")

return dfmodel, modelmeta

Expand Down

0 comments on commit e1eb457

Please sign in to comment.