slaclab / lume-genesis

Genesis 1.3 tools for use in LUME
https://slaclab.github.io/lume-genesis/
Apache License 2.0
4 stars 7 forks source link

updates to allow sims with no lattice file #1

Closed nneveu closed 3 years ago

nneveu commented 3 years ago

A small update for the uspas FEL class. If there is no lattice file, it is assumed that a lattice is defined in the input file. A message is printed to let the user know this assumption is being made.

ChristopherMayes commented 3 years ago

I fixed this in the main branch. No need for try/except.