• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CCPBioSim / CodeEntropy / 14972158685

12 May 2025 12:25PM UTC coverage: 40.957% (+0.4%) from 40.52%
14972158685

push

github

web-flow
Merge pull request #88 from CCPBioSim/85-oop-refactor

Object-oriented programming Refactor for CodeEntropy

168 of 563 new or added lines in 4 files covered. (29.84%)

274 of 669 relevant lines covered (40.96%)

1.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

92.86
/CodeEntropy/main.py
1
import logging
3✔
2
import sys
3✔
3

4
from CodeEntropy.run import RunManager
3✔
5

6
logger = logging.getLogger(__name__)
3✔
7

8

9
def main():
3✔
10
    """
11
    Main function for calculating the entropy of a system using the multiscale cell
12
    correlation method.
13
    """
14

15
    # Setup initial services
16
    folder = RunManager.create_job_folder()
3✔
17

18
    try:
3✔
19
        run_manager = RunManager(folder=folder)
3✔
20
        run_manager.run_entropy_workflow()
3✔
21
    except Exception as e:
3✔
22
        logger.critical(f"Fatal error during entropy calculation: {e}", exc_info=True)
3✔
23
        sys.exit(1)
3✔
24

25

26
if __name__ == "__main__":
3✔
27

NEW
28
    main()
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc