drop support for parallel marc versions
can still be handled by the user, but is a niche use case
This commit is contained in:
parent
e1b018c47a
commit
4860f9c9ce
|
@ -3,7 +3,6 @@ from pathlib import Path
|
|||
|
||||
class Environment:
|
||||
|
||||
# ToDo: Probably, we don't need a class (just a module with a few functions)
|
||||
def __init__(self):
|
||||
"""Do Nothing."""
|
||||
pass
|
||||
|
|
|
@ -49,7 +49,7 @@ class Marc:
|
|||
):
|
||||
|
||||
|
||||
usersub = damask.environment.root_dir/Path(f'src/DAMASK_marc{self.version}')
|
||||
usersub = damask.environment.root_dir/'src/DAMASK_marc'
|
||||
usersub = usersub.parent/(usersub.name + ('.f90' if compile else '.marc'))
|
||||
if not usersub.is_file():
|
||||
raise FileNotFoundError("DAMASK4Marc ({}) '{}' not found".format(('source' if compile else 'binary'),usersub))
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
DAMASK_marc.f90
|
|
@ -1 +0,0 @@
|
|||
DAMASK_marc.f90
|
|
@ -1 +0,0 @@
|
|||
DAMASK_marc.f90
|
|
@ -1 +0,0 @@
|
|||
DAMASK_marc.f90
|
Loading…
Reference in New Issue