Skip to content

Add generalised name generator and use in atom/instrument editor and output names#1253

Open
oerc0122 wants to merge 1 commit into
protosfrom
name-gen
Open

Add generalised name generator and use in atom/instrument editor and output names#1253
oerc0122 wants to merge 1 commit into
protosfrom
name-gen

Conversation

@oerc0122

Copy link
Copy Markdown
Collaborator

Description of work
Add a new function to generate names based on a template.

Fixes #1097

Fixes

  • New get_next_name function
  • Minor typing/name fixes in atom editor

To test

  • Run doctests
  • Copy atoms in editor
  • Try duplicate filenames
  • Try duplicate instruments

@oerc0122 oerc0122 self-assigned this Jun 30, 2026
@oerc0122 oerc0122 added the Technical Debt Legacy code which should be cleaned up. label Jun 30, 2026
@MBartkowiakSTFC

Copy link
Copy Markdown
Collaborator

The analysis runs now use names that all start with "output", e.g. "outputTemperature_result1.mda". We probably don't need both "output" and "result" in the output file name.

More importantly, at the moment trying to copy the same atom twice in the element property editor blocks the GUI permanently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Technical Debt Legacy code which should be cleaned up.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Use a common name generator for output files and instrument names

2 participants