Skip to content
Snippets Groups Projects

Resolve "Implement dpsim adapter"

Merged Richard Marston requested to merge 1-implement-dpsim-adapter into master
2 unresolved threads

Closes #1 (closed)

Edited by Jonathan Klimt

Merge request reports

Pipeline #350816 failed

Pipeline failed for 959820ea on 1-implement-dpsim-adapter

Merged by Jonathan KlimtJonathan Klimt 4 years ago (Nov 3, 2020 9:34am UTC)

Loading

Pipeline #352262 failed

Pipeline failed for 959820ea on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
db.py 0 → 100644
1
  • LGTM! 👍

    Edited by Jonathan Klimt
  • 12 import random
    13 from os import urandom
    14 10 from xml.etree import ElementTree
    11 import db
    15 12
    16 random.seed(int.from_bytes(urandom(4), byteorder='big'))
    17
    18
    19 @dataclass
    20 class record:
    21 model: Model
    22 cimobj: dict
    23
    24
    25 # We do not use Writeback mode here, so beware
    26 models = shelve.open("cimpy.db")
  • added 1 commit

    Compare with previous version

  • Jonathan Klimt unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Please register or sign in to reply
    Loading