Skip to content
Snippets Groups Projects
Commit 71f0e257 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

quickfix

parent f98f962d
No related branches found
No related tags found
No related merge requests found
import os
from os.path import join
import re
import yaml
from enum import Enum, auto
from numbers import Integral
......@@ -49,6 +48,7 @@ def build(bld):
hwdb_entries = os.environ.get("SLURM_HWDB_YAML")
fpga_id = int(re.match(r"W(?P<wafer>\d+)F(?P<fpga>\d+)",
slurm_licenses)["fpga"])
import yaml
fpgas = yaml.full_load(hwdb_entries)["fpgas"]
fpga = None
for entry in fpgas:
......
import os
from os.path import join
import re
import yaml
from enum import Enum, auto
from waflib.TaskGen import feature, after_method
......@@ -56,6 +55,7 @@ def build(bld):
hwdb_entries = os.environ.get("SLURM_HWDB_YAML")
fpga_id = int(re.match(r"W(?P<wafer>\d+)F(?P<fpga>\d+)",
slurm_licenses)["fpga"])
import yaml
fpgas = yaml.full_load(hwdb_entries)["fpgas"]
fpga = None
for entry in fpgas:
......
import os
from os.path import join
import re
import yaml
from enum import Enum, auto
from waflib import Logs
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment