Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L losscalculator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic ExposureDynamic Exposure
  • Global Dynamic ExposureGlobal Dynamic Exposure
  • losscalculator
  • Merge requests
  • !95

Added main.py to run losscalculator both as package and program

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Tara Evaz Zadeh requested to merge feature/command-line_interface into master May 23, 2022
  • Overview 20
  • Commits 1
  • Pipelines 9
  • Changes 4

Added main.py to run losscalculator both as package and program with help of @LaurensJN
Also added a line to the README.md to have an example on how to run the losscalculator using main.py as a python program.
Now, we can configure the pycharm and run the main.py instead of the damage_calculator.py without removing the dots when importing the losscalulator related packages.

\approve @ds @shinde @LaurensJN

Edited May 23, 2022 by Tara Evaz Zadeh
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/command-line_interface