Skip to content

Update FIBContext and backend logic for detecting, handling and making GIFs of drift correction images#796

Draft
tieneupin wants to merge 11 commits intomainfrom
fib-gif-update
Draft

Update FIBContext and backend logic for detecting, handling and making GIFs of drift correction images#796
tieneupin wants to merge 11 commits intomainfrom
fib-gif-update

Conversation

@tieneupin
Copy link
Copy Markdown
Contributor

No description provided.

# Change permissions for folders in the visit directory and onwards
for current_path in list(reversed(output_dir.parents))[visit_index + 1 :]:
try:
os.chmod(current_path, mode=machine_config.mkdir_chmod)
# Create the directory structure
if not (output_dir := gif_params.output_file.parent).exists():
output_dir.mkdir(parents=True)
logger.debug(f"Created output directory {output_dir}")
os.chmod(current_path, mode=machine_config.mkdir_chmod)
except PermissionError:
logger.warning(
f"Insufficient permissions to modify directory {current_path}"
duration=30,
loop=0,
)
logger.info(f"Created GIF file {gif_params.output_file}")
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 83.06452% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.26%. Comparing base (42a34ba) to head (b8d2b4f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #796      +/-   ##
==========================================
+ Coverage   52.14%   52.26%   +0.12%     
==========================================
  Files          96       96              
  Lines       10239    10295      +56     
  Branches     1340     1353      +13     
==========================================
+ Hits         5339     5381      +42     
- Misses       4627     4639      +12     
- Partials      273      275       +2     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Successfully merging this pull request may close these issues.

2 participants