sbol_utilities.sbol_diff
Module Contents
Functions
|
Compute and report the difference between two SBOL3 documents |
|
Compute and report the difference between two SBOL3 files |
|
Command line interface to sbol_diff |
- doc_diff(doc1: sbol3.Document, doc2: sbol3.Document, silent: bool = False) int
Compute and report the difference between two SBOL3 documents
- Parameters
doc1 – the first SBOL3 document
doc2 – the second SBOL3 document
silent – whether to report differences to stdout
- Returns
1 if there are differences, 0 if they are the same
- file_diff(fpath1: str, fpath2: str, silent: bool = False) int
Compute and report the difference between two SBOL3 files
- Parameters
fpath1 – path to the first SBOL3 file
fpath2 – path to the second SBOL3 file
silent – whether to report differences to stdout
- Returns
1 if there are differences, 0 if they are the same
- main(argv: Optional[Sequence[str]] = None) int
Command line interface to sbol_diff
@param argv: command line arguments @return: 1 if there are differences, 0 if they are the same