f3447a852a77172ecbecdf46945613c8d592667d,pyntcloud/io/bin.py,,write_bin,#,57
Before Change
boolean
True if no problems
if kwargs["also_save"] is not None:
raise ValueError(("Can only write the PyntCloud.xyz array. "
"Please remove argument `also_save`"))
else:
After Change
// Test that any remaining kwargs are only those allowed
// It should be the empty set
remaining_kwargs = set(kwargs.keys()) - set(["sep", "format"])
if not len(remaining_kwargs) == 0:
raise ValueError(("Only keyword arguments meant for numpy.ndarray.tofile "
"are accepted. Please see the numpy documentation"))
point_array.tofile(filename, **kwargs)
return True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: daavoo/pyntcloud
Commit Name: f3447a852a77172ecbecdf46945613c8d592667d
Time: 2018-07-09
Author: nickmitchell7@gmail.com
File Name: pyntcloud/io/bin.py
Class Name:
Method Name: write_bin
Project Name: ANTsX/ANTsPy
Commit Name: 6286ba014120ce05b49302007a0a28feed6d98c4
Time: 2020-09-10
Author: stnava@gmail.com
File Name: ants/segmentation/joint_label_fusion.py
Class Name:
Method Name: joint_label_fusion
Project Name: ilastik/ilastik
Commit Name: 8861dfa21d1cfd487b7a6eb7508885f084f58e6c
Time: 2019-07-10
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: __init__