Skip to content

Commit

Permalink
Merge pull request #38 from LeukemiaAiResearch/1.0.2
Browse files Browse the repository at this point in the history
1.0.2 Installation fixes and enhancements
  • Loading branch information
AdamMiltonBarker authored Oct 11, 2020
2 parents 7293593 + d401088 commit 9482a82
Show file tree
Hide file tree
Showing 50 changed files with 2,983 additions and 1,744 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Peter Moss Leukemia AI Research
## Contributing to the Hospital Intelligent Automation System project

We encourage bug fixes and enhancements submitted by the community and there are a number of ways you can contribute towards this repository.
Expand Down Expand Up @@ -137,7 +137,7 @@ Each .md file in the repository should use the same header. An example of this i
![Peter Moss Acute Myeloid & Lymphoblastic Leukemia AI Research Project](Media/Images/Peter-Moss-Acute-Myeloid-Lymphoblastic-Leukemia-Research-Project.png)
```

Each .md file in the repository should also use the same footer, with the excpetions of the contributors. If you contribute directly to the code or documentation you should update this area with your details.
Each .md file in the repository should also use the same footer, with the excpetions of the contributors. If you contribute directly to the code or documentation you should update this area with your details. Below is an example of how the contributing list should be.

```
 
Expand All @@ -150,7 +150,7 @@ Please read the [CONTRIBUTING](CONTRIBUTING.md "CONTRIBUTING") document for a fu
## Contributors
- [Adam Milton-Barker](https://www.leukemiaresearchassociation.ai/team/adam-milton-barker "Adam Milton-Barker") - [Asociacion De Investigation En Inteligencia Artificial Para La Leucemia Peter Moss](https://www.leukemiaresearchassociation.ai "Asociacion De Investigation En Inteligencia Artificial Para La Leucemia Peter Moss") President & Lead Developer, Sabadell, Spain
- [Adam Milton-Barker](https://www.leukemiaairesearch.com/team/adam-milton-barker "Adam Milton-Barker") - [Asociacion De Investigation En Inteligencia Artificial Para La Leucemia Peter Moss](https://www.leukemiaairesearch.com "Asociacion De Investigation En Inteligencia Artificial Para La Leucemia Peter Moss") President & Lead Developer, Sabadell, Spain
 
Expand All @@ -177,7 +177,7 @@ The project README contributors should contain a list of all contributors in the

# Push changes to forked repository

![Push changes to forked repository](https://www.leukemiaresearchfoundation.ai/github/media/images/Contributing-Commit-Push.jpg)
![Push changes to forked repository](https://www.leukemiaairesearch.com/github/media/images/Contributing-Commit-Push.jpg)

When you have made your changes, you need to push them to your forked repository. This process requires a commit with a message about what your commit is, and then finally a push to the repository which will place your changes or created files to your forked repository.

Expand Down Expand Up @@ -273,7 +273,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at github@leukemiaresearchassociation.ai All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at github@leukemiaairesearch.com All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Expand Down
12 changes: 7 additions & 5 deletions Classes/Blockchain.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
######################################################################################################
#
# Organization: Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Organization: Peter Moss Leukemia AI Research
# Repository: HIAS: Hospital Intelligent Automation System
# Module: Blockchain
#
# Author: Adam Milton-Barker (AdamMiltonBarker.com)
#
Expand Down Expand Up @@ -46,9 +45,12 @@ def startBlockchain(self):
self.w3 = Web3(Web3.HTTPProvider(self.Helpers.confs["ethereum"]["bchost"], request_kwargs={
'auth': HTTPBasicAuth(self.Helpers.confs["ethereum"]["user"], self.Helpers.confs["ethereum"]["pass"])}))

self.authContract = self.w3.eth.contract(self.Helpers.confs["ethereum"]["authContract"], abi=json.dumps(self.Helpers.confs["ethereum"]["authAbi"]))
self.iotContract = self.w3.eth.contract(self.Helpers.confs["ethereum"]["iotContract"], abi=json.dumps(self.Helpers.confs["ethereum"]["iotAbi"]))
self.patientsContract = self.w3.eth.contract(self.Helpers.confs["ethereum"]["patientsContract"], abi=json.dumps(self.Helpers.confs["ethereum"]["patientsAbi"]))
self.authContract = self.w3.eth.contract(self.w3.toChecksumAddress(
self.Helpers.confs["ethereum"]["authContract"]), abi=json.dumps(self.Helpers.confs["ethereum"]["authAbi"]))
self.iotContract = self.w3.eth.contract(self.w3.toChecksumAddress(
self.Helpers.confs["ethereum"]["iotContract"]), abi=json.dumps(self.Helpers.confs["ethereum"]["iotAbi"]))
self.patientsContract = self.w3.eth.contract(self.w3.toChecksumAddress(
self.Helpers.confs["ethereum"]["patientsContract"]), abi=json.dumps(self.Helpers.confs["ethereum"]["patientsAbi"]))
self.Helpers.logger.info("Blockchain connections started")

def hiasAccessCheck(self, typeof, identifier):
Expand Down
3 changes: 1 addition & 2 deletions Classes/Helpers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
######################################################################################################
#
# Organization: Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Organization: Peter Moss Leukemia AI Research
# Repository: HIAS: Hospital Intelligent Automation System
# Project: GeniSysAI
#
# Author: Adam Milton-Barker (AdamMiltonBarker.com)
# Contributors:
Expand Down
3 changes: 1 addition & 2 deletions Classes/MongoDB.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
######################################################################################################
#
# Organization: Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Organization: Peter Moss Leukemia AI Research
# Repository: HIAS: Hospital Intelligent Automation System
# Module: MongoDB
#
# Author: Adam Milton-Barker (AdamMiltonBarker.com)
#
Expand Down
3 changes: 1 addition & 2 deletions Classes/MySQL.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
######################################################################################################
#
# Organization: Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Organization: Peter Moss Leukemia AI Research
# Repository: HIAS: Hospital Intelligent Automation System
# Module: MySQL
#
# Author: Adam Milton-Barker (AdamMiltonBarker.com)
#
Expand Down
6 changes: 2 additions & 4 deletions Classes/TassAI.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
######################################################################################################
#
# Organization: Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Repository: HIAS: Hospital Intelligent Automation System
# Project: TassAI
# Organization: Peter Moss Leukemia AI Research
# Repository: HIAS: Hospital Intelligent Automation System
#
# Author: Adam Milton-Barker (AdamMiltonBarker.com)
#
Expand All @@ -14,7 +13,6 @@
######################################################################################################

import cv2
import dlib
import os
import os.path as osp

Expand Down
3 changes: 1 addition & 2 deletions Classes/iotJumpWay.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
######################################################################################################
#
# Organization: Asociacion De Investigacion En Inteligencia Artificial Para La Leucemia Peter Moss
# Organization: Peter Moss Leukemia AI Research
# Repository: HIAS: Hospital Intelligent Automation System
# Project: GeniSysAI
#
# Author: Adam Milton-Barker (AdamMiltonBarker.com)
# Contributors:
Expand Down
Loading

0 comments on commit 9482a82

Please sign in to comment.