Skip to content

fix: fix cluster test that tests copying remote data to local machine#270

Merged
leahaeusel merged 1 commit intoqueens-py:mainfrom
leahaeusel:fix-cluster-test-on-remote-copying
Jan 23, 2026
Merged

fix: fix cluster test that tests copying remote data to local machine#270
leahaeusel merged 1 commit intoqueens-py:mainfrom
leahaeusel:fix-cluster-test-on-remote-copying

Conversation

@leahaeusel
Copy link
Copy Markdown
Member

Description and Context:
What and Why?

This PR fixes the cluster test responsible for testing the new copy_files_from_experiment_dir() method. This method copies files from the remote experiment directory to the local machine.

The way the test has been implemented so far hasn't yet taken into account the file structure of the experiment directory. Therefore, our cluster tests have been failing.

I have tested the new implementation via a pipeline run on GitLab.

Related Issues and Pull Requests

Interested Parties

@danielwolff1

Note: More information on the merge request procedure in QUEENS can be found in the Submit a pull request section in the CONTRIBUTING.md file.

@leahaeusel leahaeusel added the minor: quickfix Minor quickfix to circumvent the 24h rule label Jan 19, 2026
Copy link
Copy Markdown
Contributor

@danielwolff1 danielwolff1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ups, I'm very sorry about that 😅

When implementing this test I was comparing my adaption to the existing check but I oversaw that the existing check was comparing against the raw data loaded from the .pickle file and not against data loaded from the .vtu files on the remote machine. But yeah, checks out that if we draw 2 samples with the MonteCarlo iterator that two independent folders will be created in the experiment directory and we have to check both for their output...

Thanks for spotting (and fixing! 🙏) my mistake here! 😬

@leahaeusel leahaeusel marked this pull request as ready for review January 19, 2026 13:46
@leahaeusel leahaeusel merged commit 4e3b518 into queens-py:main Jan 23, 2026
3 checks passed
@leahaeusel leahaeusel deleted the fix-cluster-test-on-remote-copying branch January 23, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor: quickfix Minor quickfix to circumvent the 24h rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants