Extending/Modifying KnotTheory`: Difference between revisions
m (Reverted edit of 125.180.110.161, changed back to last version by Drorbn) |
No edit summary |
||
Line 1: | Line 1: | ||
[http://manoke.cn/topic/dj-fish/ dj fish] [http://xionny.cn/topic/ford-fiesta/ ford fiesta newport 1.3] [http://manoke.cn/topic/fiore-domicilio/ fiore domicilio] [http://klohy.info/img/styles/cam-girls.htm cam girls] [http://joperan.org/data/polmone-del/ polmone del suino] [http://sneck.info/data/cinelli/ cinelli] [http://manoke.cn/topic/amd-athlon/ amd athlon 64 desktop computer] [http://primonona.info/content/view/hotel-loira/ hotel loira francia] [http://sneck.info/data/taiyo-yuden/ taiyo yuden] [http://joperan.org/data/cuffie-senza/ cuffie senza filo sony] [http://joperan.org/data/www-articolo/ www articolo 31 it] [http://funkall.us/images/small/nec-lampada/ nec lampada] [http://budget7i.info/lib/hp-/ hp 5 pixel] [http://joperan.org/data/djm/ djm 600] [http://soler.net.cn/data/daiji.htm daiji] [http://budget7i.info/lib/maria-teresa/ maria teresa ruta nuda] [http://manoke.cn/topic/volo-rozzano/ volo rozzano] [http://primonona.info/content/view/henryson-o/ henryson o henderson, robert] [http://svike.info/view/new/il-sito.htm il sito ufficiale di pro evolution soccer] [http://sneck.info/data/bcs/ bcs 333] [http://polex.com.cn/resources/articles/dobson-rosemary.htm dobson, rosemary] [http://primonona.info/content/view/gerocarne/ gerocarne] [http://primonona.info/content/view/er-califfo/ er califfo] [http://sneck.info/data/panasonic-lumix/ panasonic lumix 30] [http://budget7i.info/lib/felisia-discoteca/ felisia discoteca] [http://wedner.info/content/view/mesa-que.htm mesa que mas apla] [http://soler.net.cn/data/porsche-.htm porsche 911 coupe] [http://budget7i.info/lib/la-ultima/ la ultima cena] [http://joperan.org/data/rappresentanti-per/ rappresentanti per estero] [http://joperan.org/data/sabrina/ sabrina 19] [http://veggis.org.cn/resources/articles/caldaie-ricambi.htm caldaie ricambi napoli] [http://polex.com.cn/resources/articles/ball-revamped.htm ball revamped 2] [http://manoke.cn/topic/profumi-baldessarini/ profumi baldessarini] [http://polex.com.cn/resources/articles/spy-killer.htm spy killer] [http://manoke.cn/topic/foto-naziskin/ foto naziskin] [http://manoke.cn/topic/beep/ beep] [http://wedner.info/content/view/batteria-per.htm batteria per nokia 8810] [http://wedner.info/content/view/volatili.htm volatili] [http://xionny.cn/topic/affittacamere/ affittacamere] [http://funkall.us/images/small/ebbrezza-bianca/ ebbrezza bianca] [http://primonona.info/content/view/recupero-dati/ recupero dati] [http://budget7i.info/lib/the-lion/ the lion sleep s tonight] [http://budget7i.info/lib/tesine-esame/ tesine esame terza media] [http://joperan.org/data/kenwood-w/ kenwood w6531] [http://manoke.cn/topic/tracce-esami/ tracce esami di stato] [http://sneck.info/data/timok/ timok] [http://sneck.info/data/iposte/ iposte] [http://primonona.info/content/view/hotel-/ hotel 3 stelle lisbona] [http://sneck.info/data/giochi-dei/ giochi dei cartoni animati] [http://veggis.org.cn/resources/articles/fiat-barchetta.htm fiat barchetta 1 8] [http://primonona.info/content/view/navigatore-gps/ navigatore gps bluetooth] [http://svike.info/view/new/canon-batteria.htm canon batteria] [http://wedner.info/content/view/sigillo.htm sigillo] [http://manoke.cn/topic/convertibili/ convertibili] [http://xionny.cn/topic/champagne-in/ champagne in paradiso] [http://joperan.org/data/movimento-cantautori/ movimento cantautori] [http://xionny.cn/topic/stafania-orlando/ stafania orlando] [http://xionny.cn/topic/d-m/ d m n 142] [http://funkall.us/images/small/brother-inkjet/ brother inkjet multifunzione con fax] [http://budget7i.info/lib/albergo-/ albergo 3 stella chicago] [http://polex.com.cn/resources/articles/tatoo-bracciali.htm tatoo bracciali tribali] [http://xionny.cn/topic/pissing-/ pissing singole] [http://budget7i.info/lib/guardie-giurate/ guardie giurate] [http://xionny.cn/topic/link-porno/ link porno cuckold] [http://manoke.cn/topic/lo-spavaldo/ lo spavaldo] [http://xionny.cn/topic/midnight-hour/ midnight hour pickett] [http://joperan.org/data/luciano-ferro/ luciano ferro perdona] [http://polex.com.cn/resources/articles/dvd-ally.htm dvd ally mc beal james legros] [http://funkall.us/images/small/foto-pornor/ foto pornor] [http://klohy.info/img/styles/inno-sovietico.htm inno sovietico] [http://joperan.org/data/sorpassometro/ sorpassometro] [http://sneck.info/data/foto-lilla/ foto lilla for men] [http://primonona.info/content/view/tesi-pubblicata/ tesi pubblicata] [http://polex.com.cn/resources/articles/rotliegendes.htm rotliegendes] [http://budget7i.info/lib/ups-apc/ ups apc smart 750] [http://joperan.org/data/pny-geforce/ pny geforce 7800gtx 256 mb pci express] [http://veggis.org.cn/resources/articles/memoria-ram.htm memoria ram toshiba satellite 5100] [http://sneck.info/data/cappello-con/ cappello con visiera] [http://manoke.cn/topic/severina-video/ severina video] [http://klohy.info/img/styles/www-atene.htm www atene it] [http://polex.com.cn/resources/articles/buffer.htm buffer] [http://budget7i.info/lib/figli-di/ figli di pitagora] [http://budget7i.info/lib/dimagranti-integratori/ dimagranti integratori] [http://svike.info/view/new/blazer.htm blazer 4.3] [http://veggis.org.cn/resources/articles/grimaldi-spa.htm grimaldi spa di navigazione] [http://sneck.info/data/scuola-per/ scuola per estetista] [http://klohy.info/img/styles/albergo-bolzano.htm albergo bolzano] [http://joperan.org/data/situazione-disperata/ situazione disperata, ma non seria] [http://sneck.info/data/designjet/ designjet 30] [http://svike.info/view/new/www-samsung.htm www samsung hi fi com] [http://veggis.org.cn/resources/articles/stampanti-lbp.htm stampanti lbp] [http://sneck.info/data/matera/ matera] [http://soler.net.cn/data/mp-free.htm mp3 free shrek] [http://svike.info/view/new/savage.htm savage 25] [http://funkall.us/images/small/incluso-desktop/ incluso desktop computer] [http://klohy.info/img/styles/www-relatieplanet.htm www relatieplanet nl] [http://polex.com.cn/resources/articles/www-porno.htm www porno foto video yugoslavia it] [http://soler.net.cn/data/alessandro-sposa.htm alessandro sposa rossane] [http://manoke.cn/topic/ricevitore-gps/ ricevitore gps blutooth] [http://funkall.us/images/small/benni-satisfaction/ benni satisfaction] [http://budget7i.info/lib/televisore-lcd/ televisore lcd 20] [http://svike.info/view/new/monitor-crt.htm monitor crt lg 19] [http://klohy.info/img/styles/la-ballata.htm la ballata dei fantasmi] [http://budget7i.info/lib/genova-/ genova - roma] [http://joperan.org/data/gutter-brothers/ gutter brothers] [http://budget7i.info/lib/operation-/ operation - hit squad] [http://manoke.cn/topic/rockstar-game/ rockstar game] [http://funkall.us/images/small/denver-cose/ denver cose fare] [http://veggis.org.cn/resources/articles/daewoo-nexia.htm daewoo nexia] [http://budget7i.info/lib/aika-disco/ aika. disco 1] [http://svike.info/view/new/eleciones-.htm eleciones 2 usa] [http://veggis.org.cn/resources/articles/fiat-usata.htm fiat usata torino] [http://wedner.info/content/view/video-.htm video 666 com] [http://veggis.org.cn/resources/articles/trattori-vega.htm trattori vega] [http://funkall.us/images/small/bci/ bci 3000] [http://svike.info/view/new/x-press.htm x press] [http://sneck.info/data/attentato-ai/ attentato ai tre grandi] [http://klohy.info/img/styles/enterite.htm enterite] [http://polex.com.cn/resources/articles/bandiera-gran.htm bandiera gran bretagna] [http://xionny.cn/topic/lingo-squad/ lingo squad] [http://svike.info/view/new/telefonini-lg.htm telefonini lg edge] [http://primonona.info/content/view/sonia-morales/ sonia morales] [http://wedner.info/content/view/ratzel-friedrich.htm ratzel, friedrich] [http://sneck.info/data/croste/ croste] [http://xionny.cn/topic/honda-/ honda civic 1.4i 16v 5p. s] [http://budget7i.info/lib/superfighetto-it/ superfighetto it] [http://xionny.cn/topic/lingeries/ lingeries] [http://primonona.info/content/view/globalsat-gsm/ globalsat gsm] [http://soler.net.cn/data/allevatori-como.htm allevatori como] [http://sneck.info/data/portatile-amd/ portatile amd] [http://joperan.org/data/l-oceano/ l oceano del silenzio] [http://xionny.cn/topic/baciata/ baciata] [http://manoke.cn/topic/multipla-jtd/ multipla jtd km 0 dynamic] [http://klohy.info/img/styles/sony-mpk.htm sony mpk] [http://budget7i.info/lib/modellino-della/ modellino della uno turbo] [http://wedner.info/content/view/concessionarie-per.htm concessionarie per la campagnia] [http://sneck.info/data/la-maledizione/ la maledizione della prima luna il disco] [http://sneck.info/data/vincitore-amico/ vincitore amico] [http://budget7i.info/lib/evangelion-the/ evangelion the end] [http://funkall.us/images/small/pig-word/ pig word] [http://manoke.cn/topic/behringer-xm/ behringer xm8500] [http://funkall.us/images/small/apple/ apple 23] [http://svike.info/view/new/ieee-.htm ieee 1394 dv] [http://veggis.org.cn/resources/articles/foto-giornaliste.htm foto giornaliste sexy] [http://klohy.info/img/styles/nuova-alfa.htm nuova alfa romeo 147 gta] [http://klohy.info/img/styles/video-petra.htm video petra nemcova] [http://manoke.cn/topic/profeti/ profeti] [http://joperan.org/data/www-ceteco/ www ceteco it] [http://polex.com.cn/resources/articles/giacomo-leopardi.htm giacomo leopardi foto] [http://svike.info/view/new/philips-b.htm philips 109b50] [http://polex.com.cn/resources/articles/fiera-del.htm fiera del cioccolato in perugia] [http://joperan.org/data/canzone-anni/ canzone anni 70] [http://joperan.org/data/conqueror-/ conqueror 1086 a.d.] [http://wedner.info/content/view/workcentre-pei.htm workcentre pe120i] [http://joperan.org/data/mtaa-/ mtaa 4513 v] [http://klohy.info/img/styles/stampante-laser.htm stampante laser colori cx11n] [http://veggis.org.cn/resources/articles/this-is.htm this is love marron 5] [http://joperan.org/data/lettore-memory/ lettore memory stick pro] [http://primonona.info/content/view/tacchi-sexi/ tacchi sexi] [http://xionny.cn/topic/il-segreto/ il segreto di cristoforo colombo] [http://manoke.cn/topic/tamenghest/ tamenghest] [http://klohy.info/img/styles/hp-psc.htm hp psc2410] [http://funkall.us/images/small/clarima-banca/ clarima banca] [http://budget7i.info/lib/v-data/ v data 512] [http://manoke.cn/topic/emmanuil-cesare/ emmanuil, cesare] [http://veggis.org.cn/resources/articles/lavasciuga-whirpool.htm lavasciuga whirpool] [http://budget7i.info/lib/canon-npe/ canon np-e3] [http://primonona.info/content/view/saeva/ saeva] [http://klohy.info/img/styles/crazy-tattoo.htm crazy tattoo] [http://primonona.info/content/view/lunapop-latinlover/ lunapop latinlover] [http://joperan.org/data/vgn-shp/ vgn s4hp b] [http://wedner.info/content/view/the-buggles.htm the buggles] [http://budget7i.info/lib/volkswagen-lupo/ volkswagen lupo 1.7] [http://sneck.info/data/verifiche-impianti/ verifiche impianti termici bari] [http://primonona.info/content/view/jbl-ebe/ jbl e20be] [http://budget7i.info/lib/nikon-s/ nikon s4] [http://soler.net.cn/data/fotos-de.htm fotos de velludos] [http://manoke.cn/topic/nizza-shopping/ nizza shopping] [http://wedner.info/content/view/kensington-contour.htm kensington contour notebook backpack] [http://polex.com.cn/resources/articles/enenma.htm enenma] [http://joperan.org/data/sesso-animale/ sesso animale it] [http://manoke.cn/topic/enricke/ enricke] [http://sneck.info/data/zafira-km/ zafira km zero] [http://wedner.info/content/view/televisore.htm televisore 18] [http://wedner.info/content/view/max-de.htm max de angelis l evaso] [http://funkall.us/images/small/come-dove/ come dove quando] [http://wedner.info/content/view/farmacia-florio.htm farmacia florio] [http://primonona.info/content/view/condilomi-vaginali/ condilomi vaginali] [http://funkall.us/images/small/luca-barbareschi/ luca barbareschi] [http://joperan.org/data/hungry-space/ hungry space] [http://xionny.cn/topic/max-trio/ max trio cordless] [http://xionny.cn/topic/il-demone/ il demone del gioco] [http://manoke.cn/topic/io-troia/ io troia chatta con me e daniela] [http://sneck.info/data/beau-bridges/ beau bridges] [http://klohy.info/img/styles/stranezze-di.htm stranezze di nuoro] [http://soler.net.cn/data/generatore-di.htm generatore di ricariche false] [http://soler.net.cn/data/dfi-la.htm dfi la lanparty ut nf4 ultra-d] [http://svike.info/view/new/articolo-casa.htm articolo casa] [http://budget7i.info/lib/folletti-e/ folletti e fate] [http://wedner.info/content/view/il-gamecube.htm il gamecube sale sul ring] {{Manual TOC Sidebar}} |
|||
{{Manual TOC Sidebar}} |
|||
Anybody is welcome, indeed encouraged, to fix, modify or extend the package <code>KnotTheory`</code> to the benefit of everybody else. This note explains how this can be done and outlines some of the conventions used within <code>KnotTheory`</code>. |
Anybody is welcome, indeed encouraged, to fix, modify or extend the package <code>KnotTheory`</code> to the benefit of everybody else. This note explains how this can be done and outlines some of the conventions used within <code>KnotTheory`</code>. |
||
Line 47: | Line 47: | ||
DirectoryName[ |
DirectoryName[ |
||
File/.Flatten[ |
File/.Flatten[ |
||
FileInformation[ToFileName[#,"LinKnots.m"]] |
FileInformation[ToFileName[#,"LinKnots.m"]] |
||
</pre> |
|||
(The main KnotTheory` package does a similar thing in [http://katlas.math.toronto.edu/svn/KnotTheory/trunk/src/System.mm System.mm], using |
|||
<pre>KnotTheoryDirectory[] = ( |
|||
File /. Flatten[FileInformation[ToFileName[#,"KnotTheory"]] & /@ ($Path /. "." -> Directory[])] |
|||
)</pre>) |
|||
It then tries to wrap all calls into K2K with the expression <code>SwitchDirectories[<<do something>>]</code>, which changes the current path, and context path, before executing the wrapped code, and restores it after completion. If you're trying to make more K2K functionality available, by modifyin KTtoLinKnot, you should look carefully at what we've already done for other functions. |
|||
====Transparently calling LinKnot` from KnotTheory`==== |
|||
Setting up LinKnot` for use with KnotTheory` is pretty simple. If you try using a function that relies on LinKnot`, for example converting conway notations to other notations, and don't have LinKnot` installed, you'll get a message along the lines of |
|||
<pre> |
|||
The function "ConwayNotation" requires the LinKnot package, which is not distributed as part of KnotTheory. I couldn't seem to load it; try downloading it from http://www.mi.sanu.ac.yu/vismath/linknot/, and adding the appropriate directory to the $Path. |
|||
</pre> |
|||
And this should be all that's necessary! |
|||
At present, the compatibility layer for LinKnot` provdes Conway notation conversion programs (both directions, although it seems infeasible to calculate conway notations for knots with more than 12 crossings), knot drawing and 'by-mouse' knot input. |
|||
===Advanced SVN usage=== |
|||
If you have already made some contributions to the KnotTheory` package, it's possible you have direct commit access to the Subversion server. (Please ask [[User:Dror|Dror]] or [[User:Scott|Scott]] if you think you need it too.) This part of the manual documents some advanced tasks for those with commit access; probably only Dror for now. |
|||
====Making a new stable release==== |
|||
You'll need a working copy that includes both the tags/ and trunk/ directories of the SVN project. Update everything! Go to the /tags/stable directory, and do an svn merge. You need to specify the beginning and end revisions; the beginning revision should be the head of the /tags/stable, the end revision should be either the head, or a recent revision of /trunk. |
|||
Please let me know if this works or not! |
Revision as of 08:09, 28 August 2007
dj fish ford fiesta newport 1.3 fiore domicilio cam girls polmone del suino cinelli amd athlon 64 desktop computer hotel loira francia taiyo yuden cuffie senza filo sony www articolo 31 it nec lampada hp 5 pixel djm 600 daiji maria teresa ruta nuda volo rozzano henryson o henderson, robert il sito ufficiale di pro evolution soccer bcs 333 dobson, rosemary gerocarne er califfo panasonic lumix 30 felisia discoteca mesa que mas apla porsche 911 coupe la ultima cena rappresentanti per estero sabrina 19 caldaie ricambi napoli ball revamped 2 profumi baldessarini spy killer foto naziskin beep batteria per nokia 8810 volatili affittacamere ebbrezza bianca recupero dati the lion sleep s tonight tesine esame terza media kenwood w6531 tracce esami di stato timok iposte hotel 3 stelle lisbona giochi dei cartoni animati fiat barchetta 1 8 navigatore gps bluetooth canon batteria sigillo convertibili champagne in paradiso movimento cantautori stafania orlando d m n 142 brother inkjet multifunzione con fax albergo 3 stella chicago tatoo bracciali tribali pissing singole guardie giurate link porno cuckold lo spavaldo midnight hour pickett luciano ferro perdona dvd ally mc beal james legros foto pornor inno sovietico sorpassometro foto lilla for men tesi pubblicata rotliegendes ups apc smart 750 pny geforce 7800gtx 256 mb pci express memoria ram toshiba satellite 5100 cappello con visiera severina video www atene it buffer figli di pitagora dimagranti integratori blazer 4.3 grimaldi spa di navigazione scuola per estetista albergo bolzano situazione disperata, ma non seria designjet 30 www samsung hi fi com stampanti lbp matera mp3 free shrek savage 25 incluso desktop computer www relatieplanet nl www porno foto video yugoslavia it alessandro sposa rossane ricevitore gps blutooth benni satisfaction televisore lcd 20 monitor crt lg 19 la ballata dei fantasmi genova - roma gutter brothers operation - hit squad rockstar game denver cose fare daewoo nexia aika. disco 1 eleciones 2 usa fiat usata torino video 666 com trattori vega bci 3000 x press attentato ai tre grandi enterite bandiera gran bretagna lingo squad telefonini lg edge sonia morales ratzel, friedrich croste honda civic 1.4i 16v 5p. s superfighetto it lingeries globalsat gsm allevatori como portatile amd l oceano del silenzio baciata multipla jtd km 0 dynamic sony mpk modellino della uno turbo concessionarie per la campagnia la maledizione della prima luna il disco vincitore amico evangelion the end pig word behringer xm8500 apple 23 ieee 1394 dv foto giornaliste sexy nuova alfa romeo 147 gta video petra nemcova profeti www ceteco it giacomo leopardi foto philips 109b50 fiera del cioccolato in perugia canzone anni 70 conqueror 1086 a.d. workcentre pe120i mtaa 4513 v stampante laser colori cx11n this is love marron 5 lettore memory stick pro tacchi sexi il segreto di cristoforo colombo tamenghest hp psc2410 clarima banca v data 512 emmanuil, cesare lavasciuga whirpool canon np-e3 saeva crazy tattoo lunapop latinlover vgn s4hp b the buggles volkswagen lupo 1.7 verifiche impianti termici bari jbl e20be nikon s4 fotos de velludos nizza shopping kensington contour notebook backpack enenma sesso animale it enricke zafira km zero televisore 18 max de angelis l evaso come dove quando farmacia florio condilomi vaginali luca barbareschi hungry space max trio cordless il demone del gioco io troia chatta con me e daniela beau bridges stranezze di nuoro generatore di ricariche false dfi la lanparty ut nf4 ultra-d articolo casa folletti e fate il gamecube sale sul ring
Anybody is welcome, indeed encouraged, to fix, modify or extend the package KnotTheory`
to the benefit of everybody else. This note explains how this can be done and outlines some of the conventions used within KnotTheory`
.
Seeing the sources
The source files for KnotTheory` are kept in a Subversion repository whose overall directory structure is as follows:
http://katlas.math.toronto.edu/svn/KnotTheory/...
- trunk/... contains the current "working" version of the package.
- KnotTheory/... is an unpacked version of the whole package, as seen by users.
- src/... contains the individual mathematica "modules" that are glued together to make KnotTheory/init.m, the main executable of KnotTheory`.
- branches/... contains development versions of certain new features that are not yet included in the package.
- tags/...
- stable/... contains the last "stable" version of the package. It is a snapshot of the trunk/ directory, at some previous moment in time. "Stable" doesn't necessarily mean any great degree of testing has gone on; it just means that the most recently introduced bugs in the trunk haven't been included. The downloadable package is generated from this directory.
Writing Your Extension
Submitting Your Extension
KnotTheory`
is a computer program written in an unrestricted language. Meaning that a vicious programmer could use it to do harmful things to the computer running it. Therefore unlike much of the rest of the Knot Atlas, it can be modified directly only by the administrators of this site. If you aren't one, email your extension/modification to Dror. Dror will read through it quickly to confirm that it's not malicious and doesn't do anything obviously wrong and post it in the Setup section of this manual. Thanks!
Lessons learnt from integrating LinKnot`
In February 2006, Radmila, Dror and Scott spent a few days making LinKnot` and KnotTheory` play nicely together. In the end, we had at least partially achieved two of our goals:
- Allowing the concurrent usage of KnotTheory` with LinKnot`, so that users of LinKnot` can access the databases and algorithms available in KnotTheory`, while maintaining familiar notations and function names.
- Making the functionality of LinKnot` transparently available to users of KnotTheory` (with function names and data conventions consistent with KnotTheory`).
These two goals seem to be a reasonable model for integrating a pair of complementary Mathematica packages; former users of each expect not much to change, but simply to have extra functionality. It's also a reasonable 'minimal' model, in that only 'compatibility layers' are written, leaving the original packages (mostly) unchanged.
Loading side by side
Our first goal was simply to be able to load KnotTheory` and LinKnot` side by side. Initially, we were prevented by two different problems. Firstly, each package unintentionally introduced symbols into the Global` Mathematica context. Secondly, each package expected that the current working directory always be the home of the package; expectations unsatisfiable simultaneously!
Global` symbols
Fixing leakages from KnotTheory` wasn't too hard; just load KnotTheory` in a fresh Mathematica session, then issue the command Names["Global`*"]. There shouldn't be much there, and it's mostly a matter of tracking down where the stray symbols have been introduced. If you don't understand Mathematica's (utterly ugly) system of contexts, you'll start to get the hang of it while doing this!
Leakages from LinKnot` were much more serious, as several subpackages were loaded directly into the Global` context (the authors of K2K didn't follow the usual Mathematica package conventions).
At this point we discovered the first of several painful problems associated with symbols in contexts which aren't currently on the context path, namely that conversions to and from strings (with ToString and ToExpression) are very dangerous. These happen 'at runtime', so the context path could be quite arbitrary (that is, having been modified by other packages or users since the package was loaded), rather than at the moment the package is loaded. It is often necessary to wrap calls to ToExpression with code which temporarily resets the context path. Seaching for ToExpression in the LinKnot sources should find examples of this.
Current working directory
Unfortunately many parts of the K2K package rely on the current working directory being the LinKnot` installation directory. This causes all sorts of problems; users should be able to change the current working directory arbitrarily. Even worse, there are still some bugs in KnotTheory` where certain things don't work if the current working directory isn't set to the KnotTheory` installation directory!
We used two techniques to get around this. First, the KTtoLinKnot subpackage tries to work out the LinKnot` installation directory, using the mnemonic
LinKnotDirectory[]= DirectoryName[ File/.Flatten[ FileInformation[ToFileName[#,"LinKnots.m"]]