Skip to content

Commit

Permalink
Revert 3bc8af6 (cf. #419)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed May 27, 2021
1 parent 9185cb0 commit 7e53fd4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion ixmp/backend/jdbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,6 @@ def clone(
scenario,
version=jclone.getVersion(),
scheme=jclone.getScheme(),
_clone=True,
)

def has_solution(self, s):
Expand Down
4 changes: 0 additions & 4 deletions ixmp/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,6 @@ def __init__(
version: Optional[Union[int, str]] = None,
scheme: Optional[str] = None,
annotation: Optional[str] = None,
_clone: bool = False,
**model_init_args,
):
# Check arguments
Expand Down Expand Up @@ -885,9 +884,6 @@ def __init__(
"message_ix.Scenario()"
)

if _clone:
return

# Retrieve the Model class correlating to the *scheme*
model_class = get_model(self.scheme).__class__

Expand Down

0 comments on commit 7e53fd4

Please sign in to comment.