ukaea / ukaea/PROCESS

Improve functionality to write new in.dat from an mfile

Open Beginner friendly
#4,161 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Blocked Command Line Interface Input/Output Files
Dominant language
Python
Stars
71
Forks
27
Avg merge
2d 18h
Merged PRs (30d)
33

Description

This functionality currently requires 3 arguments:
[-f path/to/MFILE.DAT] [-i path/to/IN.DAT] [-o path/to/new_IN.DAT]

This needs changing to be shorter and easier to use:

-f path/to/MFILE.DAT -o new_IN.DAT

The new IN.DAT would by default be created in the same directory as the specified MFILE, but the user could specify a different directory if they wished.

Contributor guide

Open the contributing guide

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.

Research direction

Start at the command-line argument handling for writing a new IN.DAT from an MFILE.DAT. Verify that -f and -o work without -i, that the default new_IN.DAT is created beside the specified MFILE.DAT, and that an explicitly different output directory is honored.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.