Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Institution Bug and Class Inheritance Bug #65

Open
asouther4 opened this issue Jul 14, 2021 · 0 comments
Open

Multi-Institution Bug and Class Inheritance Bug #65

asouther4 opened this issue Jul 14, 2021 · 0 comments

Comments

@asouther4
Copy link

We are running into two problems:

  1. We are unable to set up an MES with two institutions at a time in the config file.
  2. Trying to inherit one directive enabled class from another directive enabled class doesn't seem to work.

Here are some notes from our testing of problem 2:

  • We get an error if the inheriting class is defined as a @directive_enabled_class. Only the parent class should be defined as a @directive_enabled class

  • It does not seem possible to add directive methods to the inheriting class. If you try to "override" a directive method defined in the parent class, mTree simply runs the parent's version of the method. If you remove a directive method from the parent class and add it to the inheriting class, this causes an mTree error.

  • Therefore, it seems inheriting classes can only have methods without a directive decorator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant