Minor comment fixes
This commit is contained in:
parent
bc760b7eb2
commit
f31106dc61
@ -81,8 +81,7 @@ class FreqaiDataDrawer:
|
|||||||
"""
|
"""
|
||||||
Locate and load a previously saved data drawer full of all pair model metadata in
|
Locate and load a previously saved data drawer full of all pair model metadata in
|
||||||
present model folder.
|
present model folder.
|
||||||
:returns:
|
:return: bool - whether or not the drawer was located
|
||||||
exists: bool = whether or not the drawer was located
|
|
||||||
"""
|
"""
|
||||||
exists = self.pair_dictionary_path.is_file()
|
exists = self.pair_dictionary_path.is_file()
|
||||||
if exists:
|
if exists:
|
||||||
@ -101,8 +100,7 @@ class FreqaiDataDrawer:
|
|||||||
def load_historic_predictions_from_disk(self):
|
def load_historic_predictions_from_disk(self):
|
||||||
"""
|
"""
|
||||||
Locate and load a previously saved historic predictions.
|
Locate and load a previously saved historic predictions.
|
||||||
:returns:
|
:return: bool - whether or not the drawer was located
|
||||||
exists: bool = whether or not the drawer was located
|
|
||||||
"""
|
"""
|
||||||
exists = self.historic_predictions_path.is_file()
|
exists = self.historic_predictions_path.is_file()
|
||||||
if exists:
|
if exists:
|
||||||
@ -422,7 +420,7 @@ class FreqaiDataDrawer:
|
|||||||
dk.model_filename = self.pair_dict[coin]["model_filename"]
|
dk.model_filename = self.pair_dict[coin]["model_filename"]
|
||||||
dk.data_path = Path(self.pair_dict[coin]["data_path"])
|
dk.data_path = Path(self.pair_dict[coin]["data_path"])
|
||||||
if self.freqai_info.get("follow_mode", False):
|
if self.freqai_info.get("follow_mode", False):
|
||||||
# follower can be on a different system which is rsynced to the leader:
|
# follower can be on a different system which is rsynced from the leader:
|
||||||
dk.data_path = Path(
|
dk.data_path = Path(
|
||||||
self.config["user_data_dir"]
|
self.config["user_data_dir"]
|
||||||
/ "models"
|
/ "models"
|
||||||
|
Loading…
Reference in New Issue
Block a user