Author Topic: sort_particles  (Read 399 times)

leila

  • Newbie
  • *
  • Posts: 5
sort_particles
« on: October 20, 2018, 11:18:38 PM »
Hi all,

I am using import_file (filename, sort_particles=True). However it is giving me this error:

node_1 = import_file (filename, sort_particles=True)
  File "/home/leila/Downloads/ovito-3.0.0-dev200-x86_64/bin/../lib/ovito/plugins/python/ovito/io/import_file.py", line 118, in import_file
    raise RuntimeError("Invalid keyword parameter. Object %s doesn't have a parameter named '%s'." % (repr(importer), key))
RuntimeError: Invalid keyword parameter. Object LAMMPSTextDumpImporter() doesn't have a parameter named 'sort_particles'.

I appreciate your help.

Regards,
Leila

Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 501
Re: sort_particles
« Reply #1 on: October 21, 2018, 09:33:13 AM »
Hi Leila,

The sort_particles option is not yet included in the program version your are using (3.0.0-dev200). Please upgrade to the latest available version (3.0.0-dev234 or newer).

Every now and then I upload new test builds for the 3.0 release, and the published feature list and documentation set always reflect the state of the newest test build.

-Alex

leila

  • Newbie
  • *
  • Posts: 5
Re: sort_particles
« Reply #2 on: October 21, 2018, 07:09:11 PM »
Thank you so much Alex.
It worked.

Regards,
Leila