Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message on missing branch in schedule files #50

Open
hrsut opened this issue May 13, 2024 · 2 comments
Open

Error message on missing branch in schedule files #50

hrsut opened this issue May 13, 2024 · 2 comments

Comments

@hrsut
Copy link
Collaborator

hrsut commented May 13, 2024

This is an example when we have an undefined branch exists in Case (or input file). An example here the YO well is defined as two branches in input file, but the schedule file only defined one branch.

This happens when running uncertainty analysis, one branch is not produced by pre-processor but the user expects it to be produced while making Completor case file.

To Reproduce

Rerun Completor with attached files

Expected behavior

Described below

@hrsut
Copy link
Collaborator Author

hrsut commented May 13, 2024

input_test.txt
test_1.txt

Case file: input_test.txt
Schedule file: test_1.txt

Expected behavior: Completor will exit and give error message saying that the case file defines 2 branches and schedule file only has 1 branch. Missing branch number 2.

@hrsut
Copy link
Collaborator Author

hrsut commented May 13, 2024

Another example is the inverse from first case within the same case_file
input_test.txt
test_2.txt

In this example, the schedule file defines only Branch number 2, where the branch number 1 is missing.

Expected behavior: Completor will exit and give error message saying that the case file defines 2 branches and schedule file only has 1 branch. Missing branch number 1.

@hrsut hrsut changed the title Proper error message on undefined branch Proper error message on missing branch in schedule files May 13, 2024
@hrsut hrsut changed the title Proper error message on missing branch in schedule files Error message on missing branch in schedule files May 13, 2024
@cutn94 cutn94 assigned cutn94 and unassigned cutn94 Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants