Skip to content

Commit

Permalink
New version of open-pedigree with some bug fixes, add framework version
Browse files Browse the repository at this point in the history
  • Loading branch information
dconlan committed Dec 2, 2021
1 parent d664882 commit 7fd6627
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 49 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Alternatively you can clone the git repository and generate your own distributio
```
git clone https://github.com/aehrc/redcap_pedigree_editor.git
cd redcap_pedigree_editor
git archive --format=zip --prefix=redcap_pedigree_editor_v0.3/ -o ../redcap_pedigree_editor_v0.3.zip HEAD
git archive --format=zip --prefix=redcap_pedigree_editor_v0.3.1/ -o ../redcap_pedigree_editor_v0.3.1.zip HEAD
```

This will give you a file redcap_pedigree_editor_v0.3.zip
Expand All @@ -28,6 +28,7 @@ This will give you a file redcap_pedigree_editor_v0.3.zip
- v0.2 - Upgrade open-pedigree version to allow use of the svg image encoded in the pedigree data to show real
representation of the diagram, add compression for large diagrams.
- v0.3 - Change to use the new GA4GH FHIR format, do terminology lookups via a web service hosted in redcap.
- v0.3.1 - Minor bug fix in open-pedigree

# Install the distribution

Expand Down Expand Up @@ -414,4 +415,4 @@ Here is an example family member history resource
}
]
}
```
```
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@

"compatibility": {
"php-version-min" : "5.4.0",
"redcap-version-min": "8.8.1"
"redcap-version-min": "8.8.1",
"framework-version": 1
}
}
2 changes: 1 addition & 1 deletion open-pedigree/dist/pedigree.min.js

Large diffs are not rendered by default.

45 changes: 0 additions & 45 deletions open-pedigree/dist/pedigree.min.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,49 +1,4 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/

/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*!
* Font Awesome Free 5.13.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/

/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
6 changes: 6 additions & 0 deletions open-pedigree/localEditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<script type="text/javascript" src="public/vendor/filesaver/FileSaver.js"></script>
<script type="text/javascript" src="public/vendor/URI.js"></script>

<!-- PDF libraries -->
<script type="text/javascript" src="public/vendor/pdfkit/pdfkit.standalone.js"></script>
<script type="text/javascript" src="public/vendor/pdfkit/svg-to-pdfkit.js"></script>
<script type="text/javascript" src="public/vendor/pdfkit/blob-stream.js"></script>

<!-- XWiki REST API and widgets -->
<script type="text/javascript" src="public/vendor/xwiki/xwiki-min.js"></script>
<script type="text/javascript" src="public/vendor/phenotips/Widgets.js"></script>
Expand Down Expand Up @@ -94,6 +99,7 @@
if (format === ''){
format = 'fhir';
}

console.log("creating editor");

var editorOptions = {patientDataUrl: 'local:pedigreeData?format='+format+'&closeOnSave=true' + (qData?('&qData='+qData):''),
Expand Down

0 comments on commit 7fd6627

Please sign in to comment.