Skip to content

Commit

Permalink
Use alternative function already in koalas
Browse files Browse the repository at this point in the history
  • Loading branch information
adamburkegh committed Mar 5, 2024
1 parent 47fd40b commit 061daf7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cgedq/mine.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def filterByTimeOnDate(sslog:set, years: int ) -> set:


def exportNetToImage(vard,oname,pn):
dotStr = exportToDOT(pn)
dotStr = convert_net_to_dot(pn)
export_DOT_to_image(vard,oname,dotStr)

def mineByTime(vard,fname,sslog:set,years:int,noise=0.0,font=None):
Expand Down Expand Up @@ -246,13 +246,6 @@ def main():
info("Done")


#
# TODO Push up into koalas models/petrinet
#

def exportToDOT(net:LabelledPetriNet) -> str:
return convert_net_to_dot(PetriNetDOTFormatter(net))

if __name__ == '__main__':
main()

Expand Down

0 comments on commit 061daf7

Please sign in to comment.