drop support for parallel marc versions

can still be handled by the user, but is a niche use case
This commit is contained in:
Martin Diehl 2020-07-18 09:51:53 +02:00
parent e1b018c47a
commit 4860f9c9ce
7 changed files with 4 additions and 9 deletions

View File

@ -3,7 +3,6 @@ from pathlib import Path
class Environment: class Environment:
# ToDo: Probably, we don't need a class (just a module with a few functions)
def __init__(self): def __init__(self):
"""Do Nothing.""" """Do Nothing."""
pass pass

View File

@ -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')) usersub = usersub.parent/(usersub.name + ('.f90' if compile else '.marc'))
if not usersub.is_file(): if not usersub.is_file():
raise FileNotFoundError("DAMASK4Marc ({}) '{}' not found".format(('source' if compile else 'binary'),usersub)) raise FileNotFoundError("DAMASK4Marc ({}) '{}' not found".format(('source' if compile else 'binary'),usersub))

View File

@ -1 +0,0 @@
DAMASK_marc.f90

View File

@ -1 +0,0 @@
DAMASK_marc.f90

View File

@ -1 +0,0 @@
DAMASK_marc.f90

View File

@ -1 +0,0 @@
DAMASK_marc.f90