terrapower / armi

An open-source nuclear reactor analysis automation framework that helps design teams increase efficiency and quality
https://terrapower.github.io/armi/
Apache License 2.0
214 stars 82 forks source link

Change the name Database3 to Database #1673

Open john-science opened 3 months ago

john-science commented 3 months ago

This is a big, complex change that will have to be done in phases.

It is an unfortunate fluke of history that ARMI's database class is called Database3. This was meant to be a temporary name used during a transition.

But, obviously, this is a big, API-breaking change that will cause a ton of (trivial) code changes in ARMI and downstream. So, I would suggest a long, gradual transition:


Suggested stub file to ease our transition:

# database3.py
from armi.bookkeeping.db.database import *

class Database3(Database):
    pass