Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic Exposure
  • Global Dynamic Exposure
  • losscalculator
  • Issues
  • #28

Closed
Open
Created Feb 03, 2021 by Marius Kriegerowski@mariusOwner

Condition is ignored

I just randomly browsed through your code and I discovered this line:

https://gitext.gfz-potsdam.de/dynamicexposure/globaldynamicexposure/loss-calculator/-/blob/master/losscalculator/add_cellids_to_OBM_exposure_files.py#L59

I don't think this will work as you want. pass will simply go on with the execution. If you want to get to the next iteration step ignoring what follows, you need to use continue.

Assignee
Assign to
Time tracking