dials output files: add prefix / suffix options for all dials programs

Open
#3,052 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start with how dials.index chooses its output names for the .refl and .expt files, and check whether the existing explicit filename options are handled in one shared place. The issue asks for prefix and suffix options across all dials programs, so a shared approach is likely needed before touching each program. Done when dials.index with prefix=foo_ writes foo_indexed.refl and foo_indexed.expt, and suffix=_foo writes indexed_foo.refl and indexed_foo.expt.

Written by the indexing model from the issue text.

Description

Currently you can explicitly set filenames for output but these but it's annoying to have to specify for every program

Adding a prefix or suffix would allow:

dials.index prefix=foo_

to give:

foo_indexed.refl foo_indexed.expt

as output, or a suffix suffix=_foo to give indexed_foo.refl indexed_foo.expt

Dominant language
Python
Stars
107
Forks
61
Avg merge
2d 15h
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dials/dials

All issues in dials/dials

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.