nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Remnant Module dirs when switching branches #608

Closed timspainNERSC closed 3 months ago

timspainNERSC commented 4 months ago

If a branch introduces a new Module, switching away from it will leave the Module subdirectory behind, containing the generated module.cpp file. The Module generation code should ignore or delete such directories. The telltale signature is a Module directory containing only a module.cpp file.

einola commented 4 months ago

Yes! A very minor thing that's super annoying :D

timspainNERSC commented 3 months ago

I'm about to create a new module, and I don't want this to bite me when switching branches, so I will fix this now.