2020-09-15 00:47:37 -0600 | received badge | ● Popular Question (source) |

2019-10-11 06:01:38 -0600 | asked a question | Adapt the nauty_directg function Dear reader, For a research interest, I would like to generate the collection of non-isomorphic digraphs on a given graph, with a given subset of the edges fixed. Naturally, simply generating the full collection using digraphs.nauty_directg() and removing the undesirable members of the obtained collection would be functional, but it's quite the waste of computing time to take this approach. Hence, I was wondering whether I'd be able to get under the hood of the nauty_directg function to create my own adapted version, which simply skips over the orientation of the edges listed in some input argument. Would anyone be able to help me get started with this endeavor? Best, Pepijn |

2019-05-06 09:51:13 -0600 | received badge | ● Scholar (source) |

2019-05-01 02:22:08 -0600 | commented answer | tqdm's "total" parameter bug Thanks, that'll do it! |

2019-04-30 06:04:09 -0600 | commented question | tqdm's "total" parameter bug Thanks for your answer, but the "10" isn't the problem; graphs.nauty_geng takes a string argument and returns an Iterable. The issue is related to the other number, which somehow becomes a string in tqdm. I have replaced my example in response to your suggestion, to make the question more clear. |

2019-04-30 04:02:50 -0600 | received badge | ● Editor (source) |

2019-04-30 03:57:03 -0600 | asked a question | tqdm's "total" parameter bug Due to something in the Sage 8.7 kernel (currently running in CoCalc), the tqdm progress bar crashes when I try to specify its total parameter. According to the documentation, my syntax should be correct. Specifically, yields Especially since a similar implementation of tqdm does work in a python 3 sheet, this feels like a minor bug to me. Or am I making some silly mistake? -- edit: replaced example with a more straightforward one |

2019-04-17 03:29:15 -0600 | commented answer | digraphs.nauty_directg() missing in SageMath 8.6? Thanks for your answer. I have tried running the proposed workaround in a SageMath 8.6 Notebook (on a Windows machine), but it still not compiling, with pretty much the same message as before: On another note, the example provided before does run properly in a CoCalc worksheet, which (as far as I can tell) is running Sage 8.7. |

2019-04-17 01:43:35 -0600 | received badge | ● Student (source) |

2019-04-17 01:18:46 -0600 | asked a question | digraphs.nauty_directg() missing in SageMath 8.6? Hello, I recently picked up SageMath to perform digraph computations regarding a research interest. I'm running into a strange issue regarding a function that should exist, judging by the documentation (link at the bottom of this post), but apparently does not. If I attempt to run a small test copied directly from said documentation: the program fails to compile and yields Could anyone tell me whether I'm I making a horrible rookie mistake, or is this functionality is simply missing from SageMath 8.6? Or is there something else at play? Thanks, Pepijn Documentation at: http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/digraph_generators.html#sage.graphs.digraph_generators.DiGraphGenerators.nauty_directg |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.