Skip to content

Releases: molssi-seamm/loop_step

Bugfix: error in selection of table rows

19 Nov 18:59
2b7d85f
Compare
Choose a tag to compare
  • In a loop "For rows in table" a crietrion on the value of a row might cause an error due to mismatch of the types. This is now corrected.

Removed automatic output of structures.

18 Nov 18:32
cec871a
Compare
Choose a tag to compare
  • While often convenient, writing out the structure at the end of the loop was not a reasonable default. If you want the structure, add a write_structure step in the loop.

Enhancement: loop control

14 Nov 18:41
8d0901b
Compare
Choose a tag to compare
  • Added methods in the loop_step module to break from a loop, break_loop(), continue a loop, continue_loop(), and totally skip an iteration, removing any files associated with it, skip_iteration.

Bugfix: incorrectly wrapping text description of substeps

15 Oct 21:27
3b0905d
Compare
Choose a tag to compare
  • When printing the description of the substeps in the loop, the code incorrectly wrapped the text, which caused issues with e.g. tables.

Enhancement to 'For' loops

23 Aug 17:20
916e1bc
Compare
Choose a tag to compare
  • For integer loops, ensure that the loop variable is an integer and make the directory name be value of the loop variable to make it easier to find the iteration of interest.

Bugfix: Error selecting systems by name

22 Aug 00:08
ed9b5b0
Compare
Choose a tag to compare
  • There was a bug selecting system by name in the For Systems in Database branch.

Improved handling for For Systems in Database

16 Aug 14:17
09eda93
Compare
Choose a tag to compare

Added ability to get all configurations for each system, as well as using matching or regexps for the names of configurations to select.

Further improving naming of loop subdirectories

30 Jul 21:23
dcb88ac
Compare
Choose a tag to compare
  • For loops now use the value of loop index as the subdirectory
  • Improved handling of lists for ForEach loops so blank-delimited lists work properly. Quotes can be used for values with embedded blanks, much like the Linux commandline.

Improved naming of loop subdirectories

29 Jul 00:36
93ae014
Compare
Choose a tag to compare
  • The subdirectories now start at 1, not 0, to make counting more normal
  • When looping over systems, now have the option to name the directories after the system or configuration name, not the iteration number.

Bugfix: Crash in "For" loops

09 Nov 15:55
2d48a4a
Compare
Choose a tag to compare
  • For loops could crash writing to write final_structure.mmcif before the directory had been made.