List of commits:
Subject Hash Author Date (UTC)
Fix redis DB in config dffd5d2deb0c5d8043ff43fc3fe6cb1efd3bc990 Vasilis Ververis 2017-04-10 10:23:15
Set proper host address to redis, remove extra spaces, set ff to unix dd87734e46d0756f7d7f48b5de5591ffd487c8ab Vasilis Ververis 2017-04-04 22:48:03
Add redis conf, datasets, gitignore, convert files 34fd00db0525b875e2f9afbe5a10af28fe06b03b Vasilis Ververis 2017-03-16 09:52:30
Commig cdebeb923331f9081529a023c00cb1f0543e3d55 Mathias Ehlert 2014-12-07 16:07:08
Commit dffd5d2deb0c5d8043ff43fc3fe6cb1efd3bc990 - Fix redis DB in config
Author: Vasilis Ververis
Author date (UTC): 2017-04-10 10:23
Committer name: Vasilis Ververis
Committer date (UTC): 2017-04-10 10:23
Parent(s): dd87734e46d0756f7d7f48b5de5591ffd487c8ab
Signing key:
Tree: e5ae87ee30ba754e1eadc9379c3299dc55a95777
File Lines added Lines deleted
config.py 1 0
metric_calculator.py 1 2
pearson.py 1 1
File config.py changed (mode: 100644) (index c18bb46..b160ebc)
... ... advanced_scores = {'advanced_unified_risk_score': advancedscores.adv_unified_ris
86 86 # Redis # Redis
87 87 REDIS_PORT = 6379 REDIS_PORT = 6379
88 88 REDIS_HOST = 'redis' REDIS_HOST = 'redis'
89 REDIS_DB = 1
File metric_calculator.py changed (mode: 100644) (index cb073fa..cb5b831)
... ... class MetricCalculator(object):
17 17 print ('Starting metric_calculator!') print ('Starting metric_calculator!')
18 18 self.graph = graph self.graph = graph
19 19 self.graph_gt = graph_gt self.graph_gt = graph_gt
20 self.redis = rd.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=1)
20 self.redis = rd.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=REDIS_DB)
21 21 # self.graph_gt_labels = graph_gt_labels # self.graph_gt_labels = graph_gt_labels
22 self.redis = rd.StrictRedis(host='redis', port=6379, db=0)
23 22 self.nodes = nx.nodes(graph) self.nodes = nx.nodes(graph)
24 23
25 24
File pearson.py changed (mode: 100644) (index 720392f..25265af)
... ... metrics = ['clustering_coefficient',
13 13 'corrected_average_neighbor_degree', 'corrected_average_neighbor_degree',
14 14 'corrected_iterated_average_neighbor_degree'] 'corrected_iterated_average_neighbor_degree']
15 15
16 rdb = rd.StrictRedis(host='redis', port=6379, db=0)
16 rdb = rd.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=REDIS_DB)
17 17
18 18
19 19 correlations = {} correlations = {}
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/coria/coria-backend

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/coria/coria-backend

Clone this repository using git:
git clone git://git.rocketgit.com/user/coria/coria-backend

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main