-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4861711
commit d88869e
Showing
11 changed files
with
428 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
from _tabltypes import tgen | ||
from _tablpaths import GetDataPath | ||
from _tablhtml import CsvToHtml | ||
from _tabldata import SaveTraitsToDB, ConvertDBtoCSVandMD | ||
from _tablstatistic import SingleStatistic | ||
|
||
|
||
# #@ | ||
|
||
|
||
def SingleMake(fun: tgen) -> None: | ||
""" | ||
- Saves the traits of the triangle 'fun' to a database, a CSV file, and Markdown file. | ||
- Then the HTML file is updated. | ||
- The traits statistics is displayed. | ||
Args: | ||
fun (tgen): The generator of the triangle. | ||
Returns: | ||
None | ||
""" | ||
SaveTraitsToDB(fun) | ||
ConvertDBtoCSVandMD(GetDataPath(fun.id, "db"), fun.id) | ||
CsvToHtml(fun) | ||
SingleStatistic(fun) | ||
|
||
|
||
if __name__ == "__main__": | ||
from Eulerian import Eulerian as triangle | ||
SingleMake(triangle) |
Oops, something went wrong.