{"id":357,"date":"2020-03-09T07:10:04","date_gmt":"2020-03-09T07:10:04","guid":{"rendered":"https:\/\/logbooks.ifosim.org\/iucaa2019\/?p=357"},"modified":"2020-03-09T07:11:21","modified_gmt":"2020-03-09T07:11:21","slug":"357","status":"publish","type":"post","link":"https:\/\/logbooks.ifosim.org\/iucaa2019\/2020\/03\/09\/357\/","title":{"rendered":"Error while joining two spaces with a node"},"content":{"rendered":"\n<p>I think we found a minor bug. When we try to join two spaces with a node and finesse throws an error saying Bug detected.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from pykat import finesse\nfrom pykat.commands import * \nkat = finesse.kat()\nkat.parse(\"\"\"\nl laser 1 0 n0\ns s0 0.1 n0 n1_1\ns s1 60 n1_1 n1\npd detect n1_1\nnoxaxis\n\"\"\")\n\nout = kat.run()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">--------------------------------------------------------------\nError from Finesse (See 'pykat.lastErrorKat' for kat object):\n  Bug detected! In function check_node_direction() of file\nkat_matrix_ccs.c at line 3508. Error message: Node n1_1 is\nconnected to multiple components but does not have a direction\nspecified    Please report the version of Finesse you are\nusing and the input   file that caused the bug at\nwww.gwoptics.org\/finesse\/bug\/. Thank you. \n--------------------------------------------------------------\nAn exception has occurred, use %tb to see the full traceback.\n\nSystemExit: 1\n\n\n<\/pre>\n\n\n\n<p> This is probably due to the fact that the node has space on both sides and finesse cannot determine a direction for it. We encountered this while we were trying to get the beam parameters at a particular distance from a component. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think we found a minor bug. When we try to join two spaces with a node and finesse throws an error saying Bug detected. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; Error from Finesse (See &#8216;pykat.lastErrorKat&#8217; for kat object): Bug detected! In function check_node_direction() of file kat_matrix_ccs.c at line 3508. Error message: Node n1_1 is connected to multiple components but [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ssl_alp_hide_revisions":false,"footnotes":"","ssl_alp_hide_crossreferences_to":false},"categories":[1],"tags":[49],"ssl-alp-coauthor":[16,14,15],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-bug"],"_links":{"self":[{"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":7,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"predecessor-version":[{"id":364,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/posts\/357\/revisions\/364"}],"wp:attachment":[{"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/tags?post=357"},{"taxonomy":"ssl-alp-coauthor","embeddable":true,"href":"https:\/\/logbooks.ifosim.org\/iucaa2019\/wp-json\/wp\/v2\/ssl-alp-coauthor?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}